<!DOCTYPE html>



  


<html class="theme-next muse use-motion" lang="en">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT" />










<meta name="description" content="第一关查看-，要用cat .&#x2F;-查看（cat是查看的意思）第二关这一串字符是有空格的spaces in this filename，不能直接用cat查看，经过搜索得到两个解决方案： 加单引号：spaces ‘in ’this ‘filename 2.加斜线：spaces &#x2F;in &#x2F;this &#x2F;filename   然后用cat读取这串字符 密码UmHadQclWmgdLOKQ3YNgjWxGoRM">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="http://xu-xuran.gitee.io/2021/12/07/1-6%E5%85%B3%E6%89%93%E9%9D%B6/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="第一关查看-，要用cat .&#x2F;-查看（cat是查看的意思）第二关这一串字符是有空格的spaces in this filename，不能直接用cat查看，经过搜索得到两个解决方案： 加单引号：spaces ‘in ’this ‘filename 2.加斜线：spaces &#x2F;in &#x2F;this &#x2F;filename   然后用cat读取这串字符 密码UmHadQclWmgdLOKQ3YNgjWxGoRM">
<meta property="og:locale" content="en_US">
<meta property="article:published_time" content="2021-12-07T14:38:18.186Z">
<meta property="article:modified_time" content="2021-12-07T14:39:12.895Z">
<meta property="article:author" content="xuxuran">
<meta name="twitter:card" content="summary">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '',
    scheme: 'Muse',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: 'Author'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://xu-xuran.gitee.io/2021/12/07/1-6关打靶/"/>





  <title> | Hexo</title>
  








<meta name="generator" content="Hexo 5.4.0"></head>

<body itemscope itemtype="http://schema.org/WebPage" lang="en">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Hexo</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/%20" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            Home
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/%20" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            Archives
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://xu-xuran.gitee.io/2021/12/07/1-6%E5%85%B3%E6%89%93%E9%9D%B6/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Hexo">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline"></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">Posted on</span>
              
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2021-12-07T22:38:18+08:00">
                2021-12-07
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="第一关"><a href="#第一关" class="headerlink" title="第一关"></a>第一关</h2><h4 id="查看-，要用cat-查看（cat是查看的意思）"><a href="#查看-，要用cat-查看（cat是查看的意思）" class="headerlink" title="查看-，要用cat ./-查看（cat是查看的意思）"></a>查看-，要用cat ./-查看（cat是查看的意思）</h4><h4 id=""><a href="#" class="headerlink" title=""></a></h4><h2 id="第二关"><a href="#第二关" class="headerlink" title="第二关"></a>第二关</h2><h4 id="这一串字符是有空格的spaces-in-this-filename，不能直接用cat查看，经过搜索得到两个解决方案："><a href="#这一串字符是有空格的spaces-in-this-filename，不能直接用cat查看，经过搜索得到两个解决方案：" class="headerlink" title="这一串字符是有空格的spaces in this filename，不能直接用cat查看，经过搜索得到两个解决方案："></a>这一串字符是有空格的spaces in this filename，不能直接用cat查看，经过搜索得到两个解决方案：</h4><ol>
<li><p>加单引号：spaces ‘in ’this ‘filename</p>
<p>2.加斜线：spaces /in /this /filename</p>
</li>
</ol>
<p>然后用cat读取这串字符</p>
<h4 id="密码UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK（通往第三关的密码）"><a href="#密码UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK（通往第三关的密码）" class="headerlink" title="密码UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK（通往第三关的密码）"></a>密码UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK（通往第三关的密码）</h4><h2 id="第三关（3-4）"><a href="#第三关（3-4）" class="headerlink" title="第三关（3-4）"></a>第三关（3-4）</h2><h3 id="关键所在-首先cd-inhere"><a href="#关键所在-首先cd-inhere" class="headerlink" title="关键所在 首先cd inhere"></a>关键所在 首先cd inhere</h3><h4 id="之后再ls-再ls-a（这是查看隐藏文件用到的命令行）"><a href="#之后再ls-再ls-a（这是查看隐藏文件用到的命令行）" class="headerlink" title="之后再ls  再ls -a（这是查看隐藏文件用到的命令行）"></a>之后再ls  再ls -a（这是查看隐藏文件用到的命令行）</h4><h4 id="然后就可以cat查看了-hidden"><a href="#然后就可以cat查看了-hidden" class="headerlink" title="然后就可以cat查看了 .hidden"></a>然后就可以cat查看了 .hidden</h4><h4 id="密码pIwrPrtPN36QITSp3EQaw936yaFoFgAB（通往第四关的密码）"><a href="#密码pIwrPrtPN36QITSp3EQaw936yaFoFgAB（通往第四关的密码）" class="headerlink" title="密码pIwrPrtPN36QITSp3EQaw936yaFoFgAB（通往第四关的密码）"></a>密码pIwrPrtPN36QITSp3EQaw936yaFoFgAB（通往第四关的密码）</h4><h2 id="第四关"><a href="#第四关" class="headerlink" title="第四关"></a>第四关</h2><h4 id="本题有10个文件，题目说是密码在人类可读的文件，那么就要判断文件的类型，用file命令"><a href="#本题有10个文件，题目说是密码在人类可读的文件，那么就要判断文件的类型，用file命令" class="headerlink" title="本题有10个文件，题目说是密码在人类可读的文件，那么就要判断文件的类型，用file命令"></a>本题有10个文件，题目说是密码在人类可读的文件，那么就要判断文件的类型，用<code>file</code>命令</h4><h4 id="然后直接用file"><a href="#然后直接用file" class="headerlink" title="然后直接用file ./*"></a>然后直接用file ./*</h4><h4 id="会得到一系列的file0-找到其中不同的一个，这一个就是密码锁在-（-file07）"><a href="#会得到一系列的file0-找到其中不同的一个，这一个就是密码锁在-（-file07）" class="headerlink" title="会得到一系列的file0   找到其中不同的一个，这一个就是密码锁在 （./-file07）"></a>会得到一系列的file0   找到其中不同的一个，这一个就是密码锁在 （./-file07）</h4><h4 id="然后用cat查看就行"><a href="#然后用cat查看就行" class="headerlink" title="然后用cat查看就行"></a>然后用cat查看就行</h4><h4 id="密码koReBOKuIDDepwhWk7jZC0RTdopnAYKh（通往第五关的）"><a href="#密码koReBOKuIDDepwhWk7jZC0RTdopnAYKh（通往第五关的）" class="headerlink" title="密码koReBOKuIDDepwhWk7jZC0RTdopnAYKh（通往第五关的）"></a>密码koReBOKuIDDepwhWk7jZC0RTdopnAYKh（通往第五关的）</h4><h2 id="第五关"><a href="#第五关" class="headerlink" title="第五关"></a>第五关</h2><h3 id="human-readable"><a href="#human-readable" class="headerlink" title="human-readable"></a>human-readable</h3><h3 id="1033-bytes-in-size"><a href="#1033-bytes-in-size" class="headerlink" title="1033 bytes in size"></a>1033 bytes in size</h3><h3 id="not-executable"><a href="#not-executable" class="headerlink" title="not executable"></a>not executable</h3><p>以上是第5-6的通关题的指示</p>
<h4 id="由题目可知-这是一个人类可读懂得文件，有1033个字节，非可执行文件那么就需要用find命令查找（需要用-size-1003c）（声明一下-type-f是指定为普通文件）"><a href="#由题目可知-这是一个人类可读懂得文件，有1033个字节，非可执行文件那么就需要用find命令查找（需要用-size-1003c）（声明一下-type-f是指定为普通文件）" class="headerlink" title="由题目可知 这是一个人类可读懂得文件，有1033个字节，非可执行文件那么就需要用find命令查找（需要用-size 1003c）（声明一下-type f是指定为普通文件）"></a>由题目可知 这是一个人类可读懂得文件，有1033个字节，非可执行文件那么就需要用find命令查找（需要用-size 1003c）（声明一下-type f是指定为普通文件）</h4><h4 id="之后会出现一串字符，再用cat查找就行"><a href="#之后会出现一串字符，再用cat查找就行" class="headerlink" title="之后会出现一串字符，再用cat查找就行"></a>之后会出现一串字符，再用cat查找就行</h4><h4 id="DXjZPULLxYr17uwoI01bNLQbtFemEgo7（通往第六关的）"><a href="#DXjZPULLxYr17uwoI01bNLQbtFemEgo7（通往第六关的）" class="headerlink" title="DXjZPULLxYr17uwoI01bNLQbtFemEgo7（通往第六关的）"></a>DXjZPULLxYr17uwoI01bNLQbtFemEgo7（通往第六关的）</h4><blockquote>
<p>find 命令：用来在指定目录下查找文件。<br>-size n : 文件大小 是 n 单位，b 代表 512 位元组的区块，c 表示字元数，k 表示 kilo bytes，w 是二个位元组。-type c : 文件类型是 c 的文件，d: 目录，c: 字型装置文件，b: 区块装置文件，p: 具名贮列，f: 一般文件，l: 符号连结，s: socket。</p>
<p>ls 显示目录下的文件名<br>-a 显示所有文件（包含隐藏文件），以.开头的文件为隐藏文件<br>-A 显示所有文件（不包含.和..）</p>
</blockquote>
<h2 id="第六关"><a href="#第六关" class="headerlink" title="第六关"></a>第六关</h2><h3 id="-1"><a href="#-1" class="headerlink" title=""></a></h3><ul>
<li>owned by user bandit7</li>
<li>owned by group bandit6</li>
<li>33 bytes in size</li>
</ul>
<p>以上是第6-7的通题指令</p>
<h4 id="此题目和第五题差不多类型，也需要find查找，用find-将这些类型输进去就ok，然后会出现很多东西，找出类型不同的一个就是密码；"><a href="#此题目和第五题差不多类型，也需要find查找，用find-将这些类型输进去就ok，然后会出现很多东西，找出类型不同的一个就是密码；" class="headerlink" title="此题目和第五题差不多类型，也需要find查找，用find / 将这些类型输进去就ok，然后会出现很多东西，找出类型不同的一个就是密码；"></a>此题目和第五题差不多类型，也需要find查找，用find / 将这些类型输进去就ok，然后会出现很多东西，找出类型不同的一个就是密码；</h4><h3 id="用find输入的时候是这样的-find-size-1033c-user-bandit7-group-bandit6"><a href="#用find输入的时候是这样的-find-size-1033c-user-bandit7-group-bandit6" class="headerlink" title="用find输入的时候是这样的  find / - size 1033c - user bandit7 - group bandit6"></a>用find输入的时候是这样的  find / - size 1033c - user bandit7 - group bandit6</h3><h4 id="然后用cat查看"><a href="#然后用cat查看" class="headerlink" title="然后用cat查看"></a>然后用cat查看</h4><h4 id="HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs（通往第七关的）"><a href="#HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs（通往第七关的）" class="headerlink" title="HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs（通往第七关的）"></a>HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs（通往第七关的）</h4>
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2021/11/13/ls/" rel="next" title="">
                <i class="fa fa-chevron-left"></i> 
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2021/12/09/%E7%AC%AC%E4%B8%83%E5%85%B3/" rel="prev" title="">
                 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            Table of Contents
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            Overview
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name"></p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/%20%7C%7C%20archive">
              
                  <span class="site-state-item-count">6</span>
                  <span class="site-state-item-name">posts</span>
                </a>
              </div>
            

            

            
              
              
              <div class="site-state-item site-state-tags">
                
                  <span class="site-state-item-count">2</span>
                  <span class="site-state-item-name">tags</span>
                
              </div>
            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%AC%AC%E4%B8%80%E5%85%B3"><span class="nav-number">1.</span> <span class="nav-text">第一关</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E6%9F%A5%E7%9C%8B-%EF%BC%8C%E8%A6%81%E7%94%A8cat-%E6%9F%A5%E7%9C%8B%EF%BC%88cat%E6%98%AF%E6%9F%A5%E7%9C%8B%E7%9A%84%E6%84%8F%E6%80%9D%EF%BC%89"><span class="nav-number">1.0.1.</span> <span class="nav-text">查看-，要用cat .&#x2F;-查看（cat是查看的意思）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link"><span class="nav-number">1.0.2.</span> <span class="nav-text"></span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%AC%AC%E4%BA%8C%E5%85%B3"><span class="nav-number">2.</span> <span class="nav-text">第二关</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E8%BF%99%E4%B8%80%E4%B8%B2%E5%AD%97%E7%AC%A6%E6%98%AF%E6%9C%89%E7%A9%BA%E6%A0%BC%E7%9A%84spaces-in-this-filename%EF%BC%8C%E4%B8%8D%E8%83%BD%E7%9B%B4%E6%8E%A5%E7%94%A8cat%E6%9F%A5%E7%9C%8B%EF%BC%8C%E7%BB%8F%E8%BF%87%E6%90%9C%E7%B4%A2%E5%BE%97%E5%88%B0%E4%B8%A4%E4%B8%AA%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%EF%BC%9A"><span class="nav-number">2.0.1.</span> <span class="nav-text">这一串字符是有空格的spaces in this filename，不能直接用cat查看，经过搜索得到两个解决方案：</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AF%86%E7%A0%81UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK%EF%BC%88%E9%80%9A%E5%BE%80%E7%AC%AC%E4%B8%89%E5%85%B3%E7%9A%84%E5%AF%86%E7%A0%81%EF%BC%89"><span class="nav-number">2.0.2.</span> <span class="nav-text">密码UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK（通往第三关的密码）</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%AC%AC%E4%B8%89%E5%85%B3%EF%BC%883-4%EF%BC%89"><span class="nav-number">3.</span> <span class="nav-text">第三关（3-4）</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%85%B3%E9%94%AE%E6%89%80%E5%9C%A8-%E9%A6%96%E5%85%88cd-inhere"><span class="nav-number">3.1.</span> <span class="nav-text">关键所在 首先cd inhere</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E4%B9%8B%E5%90%8E%E5%86%8Dls-%E5%86%8Dls-a%EF%BC%88%E8%BF%99%E6%98%AF%E6%9F%A5%E7%9C%8B%E9%9A%90%E8%97%8F%E6%96%87%E4%BB%B6%E7%94%A8%E5%88%B0%E7%9A%84%E5%91%BD%E4%BB%A4%E8%A1%8C%EF%BC%89"><span class="nav-number">3.1.1.</span> <span class="nav-text">之后再ls  再ls -a（这是查看隐藏文件用到的命令行）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E7%84%B6%E5%90%8E%E5%B0%B1%E5%8F%AF%E4%BB%A5cat%E6%9F%A5%E7%9C%8B%E4%BA%86-hidden"><span class="nav-number">3.1.2.</span> <span class="nav-text">然后就可以cat查看了 .hidden</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AF%86%E7%A0%81pIwrPrtPN36QITSp3EQaw936yaFoFgAB%EF%BC%88%E9%80%9A%E5%BE%80%E7%AC%AC%E5%9B%9B%E5%85%B3%E7%9A%84%E5%AF%86%E7%A0%81%EF%BC%89"><span class="nav-number">3.1.3.</span> <span class="nav-text">密码pIwrPrtPN36QITSp3EQaw936yaFoFgAB（通往第四关的密码）</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%AC%AC%E5%9B%9B%E5%85%B3"><span class="nav-number">4.</span> <span class="nav-text">第四关</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E6%9C%AC%E9%A2%98%E6%9C%8910%E4%B8%AA%E6%96%87%E4%BB%B6%EF%BC%8C%E9%A2%98%E7%9B%AE%E8%AF%B4%E6%98%AF%E5%AF%86%E7%A0%81%E5%9C%A8%E4%BA%BA%E7%B1%BB%E5%8F%AF%E8%AF%BB%E7%9A%84%E6%96%87%E4%BB%B6%EF%BC%8C%E9%82%A3%E4%B9%88%E5%B0%B1%E8%A6%81%E5%88%A4%E6%96%AD%E6%96%87%E4%BB%B6%E7%9A%84%E7%B1%BB%E5%9E%8B%EF%BC%8C%E7%94%A8file%E5%91%BD%E4%BB%A4"><span class="nav-number">4.0.1.</span> <span class="nav-text">本题有10个文件，题目说是密码在人类可读的文件，那么就要判断文件的类型，用file命令</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E7%84%B6%E5%90%8E%E7%9B%B4%E6%8E%A5%E7%94%A8file"><span class="nav-number">4.0.2.</span> <span class="nav-text">然后直接用file .&#x2F;*</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E4%BC%9A%E5%BE%97%E5%88%B0%E4%B8%80%E7%B3%BB%E5%88%97%E7%9A%84file0-%E6%89%BE%E5%88%B0%E5%85%B6%E4%B8%AD%E4%B8%8D%E5%90%8C%E7%9A%84%E4%B8%80%E4%B8%AA%EF%BC%8C%E8%BF%99%E4%B8%80%E4%B8%AA%E5%B0%B1%E6%98%AF%E5%AF%86%E7%A0%81%E9%94%81%E5%9C%A8-%EF%BC%88-file07%EF%BC%89"><span class="nav-number">4.0.3.</span> <span class="nav-text">会得到一系列的file0   找到其中不同的一个，这一个就是密码锁在 （.&#x2F;-file07）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E7%84%B6%E5%90%8E%E7%94%A8cat%E6%9F%A5%E7%9C%8B%E5%B0%B1%E8%A1%8C"><span class="nav-number">4.0.4.</span> <span class="nav-text">然后用cat查看就行</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AF%86%E7%A0%81koReBOKuIDDepwhWk7jZC0RTdopnAYKh%EF%BC%88%E9%80%9A%E5%BE%80%E7%AC%AC%E4%BA%94%E5%85%B3%E7%9A%84%EF%BC%89"><span class="nav-number">4.0.5.</span> <span class="nav-text">密码koReBOKuIDDepwhWk7jZC0RTdopnAYKh（通往第五关的）</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%AC%AC%E4%BA%94%E5%85%B3"><span class="nav-number">5.</span> <span class="nav-text">第五关</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#human-readable"><span class="nav-number">5.1.</span> <span class="nav-text">human-readable</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#1033-bytes-in-size"><span class="nav-number">5.2.</span> <span class="nav-text">1033 bytes in size</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#not-executable"><span class="nav-number">5.3.</span> <span class="nav-text">not executable</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E7%94%B1%E9%A2%98%E7%9B%AE%E5%8F%AF%E7%9F%A5-%E8%BF%99%E6%98%AF%E4%B8%80%E4%B8%AA%E4%BA%BA%E7%B1%BB%E5%8F%AF%E8%AF%BB%E6%87%82%E5%BE%97%E6%96%87%E4%BB%B6%EF%BC%8C%E6%9C%891033%E4%B8%AA%E5%AD%97%E8%8A%82%EF%BC%8C%E9%9D%9E%E5%8F%AF%E6%89%A7%E8%A1%8C%E6%96%87%E4%BB%B6%E9%82%A3%E4%B9%88%E5%B0%B1%E9%9C%80%E8%A6%81%E7%94%A8find%E5%91%BD%E4%BB%A4%E6%9F%A5%E6%89%BE%EF%BC%88%E9%9C%80%E8%A6%81%E7%94%A8-size-1003c%EF%BC%89%EF%BC%88%E5%A3%B0%E6%98%8E%E4%B8%80%E4%B8%8B-type-f%E6%98%AF%E6%8C%87%E5%AE%9A%E4%B8%BA%E6%99%AE%E9%80%9A%E6%96%87%E4%BB%B6%EF%BC%89"><span class="nav-number">5.3.1.</span> <span class="nav-text">由题目可知 这是一个人类可读懂得文件，有1033个字节，非可执行文件那么就需要用find命令查找（需要用-size 1003c）（声明一下-type f是指定为普通文件）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E4%B9%8B%E5%90%8E%E4%BC%9A%E5%87%BA%E7%8E%B0%E4%B8%80%E4%B8%B2%E5%AD%97%E7%AC%A6%EF%BC%8C%E5%86%8D%E7%94%A8cat%E6%9F%A5%E6%89%BE%E5%B0%B1%E8%A1%8C"><span class="nav-number">5.3.2.</span> <span class="nav-text">之后会出现一串字符，再用cat查找就行</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#DXjZPULLxYr17uwoI01bNLQbtFemEgo7%EF%BC%88%E9%80%9A%E5%BE%80%E7%AC%AC%E5%85%AD%E5%85%B3%E7%9A%84%EF%BC%89"><span class="nav-number">5.3.3.</span> <span class="nav-text">DXjZPULLxYr17uwoI01bNLQbtFemEgo7（通往第六关的）</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%AC%AC%E5%85%AD%E5%85%B3"><span class="nav-number">6.</span> <span class="nav-text">第六关</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#-1"><span class="nav-number">6.1.</span> <span class="nav-text"></span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E6%AD%A4%E9%A2%98%E7%9B%AE%E5%92%8C%E7%AC%AC%E4%BA%94%E9%A2%98%E5%B7%AE%E4%B8%8D%E5%A4%9A%E7%B1%BB%E5%9E%8B%EF%BC%8C%E4%B9%9F%E9%9C%80%E8%A6%81find%E6%9F%A5%E6%89%BE%EF%BC%8C%E7%94%A8find-%E5%B0%86%E8%BF%99%E4%BA%9B%E7%B1%BB%E5%9E%8B%E8%BE%93%E8%BF%9B%E5%8E%BB%E5%B0%B1ok%EF%BC%8C%E7%84%B6%E5%90%8E%E4%BC%9A%E5%87%BA%E7%8E%B0%E5%BE%88%E5%A4%9A%E4%B8%9C%E8%A5%BF%EF%BC%8C%E6%89%BE%E5%87%BA%E7%B1%BB%E5%9E%8B%E4%B8%8D%E5%90%8C%E7%9A%84%E4%B8%80%E4%B8%AA%E5%B0%B1%E6%98%AF%E5%AF%86%E7%A0%81%EF%BC%9B"><span class="nav-number">6.1.1.</span> <span class="nav-text">此题目和第五题差不多类型，也需要find查找，用find &#x2F; 将这些类型输进去就ok，然后会出现很多东西，找出类型不同的一个就是密码；</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E7%94%A8find%E8%BE%93%E5%85%A5%E7%9A%84%E6%97%B6%E5%80%99%E6%98%AF%E8%BF%99%E6%A0%B7%E7%9A%84-find-size-1033c-user-bandit7-group-bandit6"><span class="nav-number">6.2.</span> <span class="nav-text">用find输入的时候是这样的  find &#x2F; - size 1033c - user bandit7 - group bandit6</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E7%84%B6%E5%90%8E%E7%94%A8cat%E6%9F%A5%E7%9C%8B"><span class="nav-number">6.2.1.</span> <span class="nav-text">然后用cat查看</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs%EF%BC%88%E9%80%9A%E5%BE%80%E7%AC%AC%E4%B8%83%E5%85%B3%E7%9A%84%EF%BC%89"><span class="nav-number">6.2.2.</span> <span class="nav-text">HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs（通往第七关的）</span></a></li></ol></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">xuxuran</span>

  
</div>


  <div class="powered-by">Powered by <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a></div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">Theme &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Muse</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
